import zlib
str = "hello world"
print "%08X" % zlib.crc32(0, str, len(str))
